SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 62514: "ERROR: CLI cursor extended fetch error...General error;-10427..." occurs when you try to create a SAS® data set from an SAP HANA table

DetailsHotfixAboutRate It

When you run an SQL procedure query with SAS/ACCESS® Interface to SAP HANA, you might encounter an error similar to the following:

ERROR: CLI cursor extended fetch error: [SAP AG][LIBODBCHDB SO][HDBODBC] General error;-10427 Conversion of parameter/column (3) from data type NVARCHAR to ASCII failed    

You encounter this issue under the following conditions:

  • You are using a double-byte character set (DBCS) SAS session.
  • You include the DBSLICEPARM= option in the LIBNAME statement.
    Note: This option is often used to improve performance in SAS/ACCESS Interface to SAP HANA.
  • The SAP HANA table contains NVARCHAR, NCHAR, and NCLOB columns.

For example, you might encounter this issue if you run code similar to the following to create a SAS data set from an SAP HANA table:

libname hana saphana server=hana-server port=30015 user=hana-user password=hana-password dbsliceparm=all;
proc sql;
create table TMP_FIRM_CD AS
select FIRM_CD,FIRM_CHAR_CD,FIRM_NM,REPR_INDI_DSCM_NO
from hana.HBTT_FIRM_CD;

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS/ACCESS Interface to SAP HANASolaris for x649.439.449.4 TS1M49.4 TS1M5
Linux for x649.439.449.4 TS1M49.4 TS1M5
HP-UX IPF9.439.449.4 TS1M49.4 TS1M5
64-bit Enabled Solaris9.439.449.4 TS1M49.4 TS1M5
64-bit Enabled AIX9.439.449.4 TS1M49.4 TS1M5
Microsoft® Windows® for x649.439.449.4 TS1M49.4 TS1M5
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.